package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 老年信息对象 elderly
 *
 * @author ruoyi
 * @date 2023-02-14
 */
public class Elderly extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 老人姓名 */
    @Excel(name = "老人姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phoneNo;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String identityNo;

    /** 年纪 */
    @Excel(name = "年纪")
    private String age;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 文化程度 */
    @Excel(name = "文化程度")
    private String degreeEducation;

    /** 老人类型 */
    @Excel(name = "老人类型")
    private String type;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 健康情况 */
    @Excel(name = "健康情况")
    private String healthStatus;

    /** 主要疾病 */
    @Excel(name = "主要疾病")
    private String mainDiseases;

    /** 其他疾病 */
    @Excel(name = "其他疾病")
    private String otherDiseases;

    /** 用药描述 */
    @Excel(name = "用药描述")
    private String medicineDesc;

    /** 体征信息 */
    @Excel(name = "体征信息")
    private String physicalInfo;

    /** 体征数据 */
    @Excel(name = "体征数据")
    private String physicalData;

    /** 入住状态:1.未入住，2.入住 */
    @Excel(name = "入住状态:1.未入住，2.入住")
    private String checkInStatus;

    /** 床位id */
    @Excel(name = "床位id")
    private Long bedId;

    /** 床位全称 */
    @Excel(name = "床位全称")
    private String bedName;

    /** 入住时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkInTime;

    /** 退住时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退住时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outTime;

    /** 退住原因 */
    @Excel(name = "退住原因")
    private String reasons;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setPhoneNo(String phoneNo)
    {
        this.phoneNo = phoneNo;
    }

    public String getPhoneNo()
    {
        return phoneNo;
    }
    public void setIdentityNo(String identityNo)
    {
        this.identityNo = identityNo;
    }

    public String getIdentityNo()
    {
        return identityNo;
    }
    public void setAge(String age)
    {
        this.age = age;
    }

    public String getAge()
    {
        return age;
    }
    public void setNation(String nation)
    {
        this.nation = nation;
    }

    public String getNation()
    {
        return nation;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setDegreeEducation(String degreeEducation)
    {
        this.degreeEducation = degreeEducation;
    }

    public String getDegreeEducation()
    {
        return degreeEducation;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setHealthStatus(String healthStatus)
    {
        this.healthStatus = healthStatus;
    }

    public String getHealthStatus()
    {
        return healthStatus;
    }
    public void setMainDiseases(String mainDiseases)
    {
        this.mainDiseases = mainDiseases;
    }

    public String getMainDiseases()
    {
        return mainDiseases;
    }
    public void setOtherDiseases(String otherDiseases)
    {
        this.otherDiseases = otherDiseases;
    }

    public String getOtherDiseases()
    {
        return otherDiseases;
    }
    public void setMedicineDesc(String medicineDesc)
    {
        this.medicineDesc = medicineDesc;
    }

    public String getMedicineDesc()
    {
        return medicineDesc;
    }
    public void setPhysicalInfo(String physicalInfo)
    {
        this.physicalInfo = physicalInfo;
    }

    public String getPhysicalInfo()
    {
        return physicalInfo;
    }
    public void setPhysicalData(String physicalData)
    {
        this.physicalData = physicalData;
    }

    public String getPhysicalData()
    {
        return physicalData;
    }
    public void setCheckInStatus(String checkInStatus)
    {
        this.checkInStatus = checkInStatus;
    }

    public String getCheckInStatus()
    {
        return checkInStatus;
    }
    public void setBedId(Long bedId)
    {
        this.bedId = bedId;
    }

    public Long getBedId()
    {
        return bedId;
    }
    public void setBedName(String bedName)
    {
        this.bedName = bedName;
    }

    public String getBedName()
    {
        return bedName;
    }
    public void setCheckInTime(Date checkInTime)
    {
        this.checkInTime = checkInTime;
    }

    public Date getCheckInTime()
    {
        return checkInTime;
    }
    public void setOutTime(Date outTime)
    {
        this.outTime = outTime;
    }

    public Date getOutTime()
    {
        return outTime;
    }
    public void setReasons(String reasons)
    {
        this.reasons = reasons;
    }

    public String getReasons()
    {
        return reasons;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sex", getSex())
            .append("phoneNo", getPhoneNo())
            .append("identityNo", getIdentityNo())
            .append("age", getAge())
            .append("nation", getNation())
            .append("address", getAddress())
            .append("degreeEducation", getDegreeEducation())
            .append("type", getType())
            .append("status", getStatus())
            .append("healthStatus", getHealthStatus())
            .append("mainDiseases", getMainDiseases())
            .append("otherDiseases", getOtherDiseases())
            .append("medicineDesc", getMedicineDesc())
            .append("physicalInfo", getPhysicalInfo())
            .append("physicalData", getPhysicalData())
            .append("remark", getRemark())
            .append("checkInStatus", getCheckInStatus())
            .append("bedId", getBedId())
            .append("bedName", getBedName())
            .append("checkInTime", getCheckInTime())
            .append("outTime", getOutTime())
            .append("reasons", getReasons())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
